

<section style="margin-left:51px" class="col-lg-11 col-md-11 col-sm-11 col-xs-11">         
  <div id="content">
  <div class="content-top">
<div class="box pav-custom  ">

</div>
<div class="box-product yellow horizontal box productcarousel">
  <div class="box-heading"><span>Video mới</span></div>
  <div class="box-content" >
    <div class="box-products slide" id="productcarousel8cd118">
                 
            <div class="carousel-inner ">   
        
                  <div class="item active">
                                          <div class="row box-product">

<!---------------------------Anh moi nhat------------------------------>
<?php foreach ($data as  $v) {?>
    <div style="margin-bottom: 2%" class="col-lg-3 col-sm-3 col-xs-12 "><div class="product-block">
                        <div class="image ">
                <div class="image_container">
          <a href="<?php echo $this->url('home', array('action'=>'detail','id'=>$v['video_id']));?>" class="img front">
            <img style="width:112%" src="<?php echo $this->basePath('/photo/').$v['image'] ;?>" class="img-responsive" />
          </a>
          <!-- Show Swap -->
                  </div>               
                </div>
                  <div class="product-meta">
                  <div class="name">
                    <a href="<?php echo $this->url('home', array('action'=>'detail','id'=>$v['video_id']));?>"><?php echo $this->escapeHtml($v['title']);?></a>
                  </div>
                                      
                  <div class="description">
                   <?php if(strlen($v['content'])<25){echo $this->escapeHtml($v['content']);}else echo $this->escapeHtml(substr($v['content'],0,25)).'...';?>
                  </div>
                                 
                                    
                  
                  </div>
                  </div>
                </div>
              <?php }?>
 <!------------------------------------------------------------------>
              
                             </div>
                                    </div>
              </div>  
    </div>
 </div> </div>

 <div class="box-product yellow horizontal box productcarousel">
  <div class="box-heading"><span>Video gần đây</span></div>
  <div class="box-content" >
    <div class="box-products slide" id="productcarousel8cd118">
                 
            <div class="carousel-inner ">   
        
                  <div class="item active">
                                          <div class="row box-product">

<!---------------------------Anh moi nhat------------------------------>
<?php foreach ($old as  $v) {?>
    <div style="margin-bottom: 2%" class="col-lg-3 col-sm-3 col-xs-6 "><div class="product-block">
                        <div class="image ">
                <div class="image_container">
          <a href="<?php echo $this->url('home', array('action'=>'detail','id'=>$v['video_id']));?>" class="img front">
            <img style="width:112%" src="<?php echo $this->basePath('/photo/').$v['image'] ;?>" class="img-responsive" />
          </a>
          <!-- Show Swap -->
                  </div>               
                </div>
                  <div class="product-meta">
                  <div class="name">
                    <a href="<?php echo $this->url('home', array('action'=>'detail','id'=>$v['video_id']));?>"><?php echo $this->escapeHtml($v['title']);?></a>
                  </div>
                                      
                  <div class="description">
                   <?php echo $this->escapeHtml($v['content']);?>
                  </div>
                                 
                                    
                  
                  </div>
                  </div>
                </div>
              <?php }?>
 <!------------------------------------------------------------------>
              
                             </div>
                                    </div>
              </div>  
    </div>
 </div> </div>



</div>
  
    </div>
</section>
  
 